﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yunwei.Domain.Models;

namespace Yunwei.IBizLogic
{
    public interface IRestaurantIngredientService : IBaseService<RestaurantIngredient>
    {
        RestaurantIngredient FindByIngredient(int ingredient_Id, int restaurant_Id);

        IQueryable<RestaurantIngredient> FindList(int number, string name, int restaurant_Id, int orderCode);

        IQueryable<RestaurantIngredient> FindPageList(out int totalRecord, int pageIndex, int pageSize, string name, int restaurant_Id, int order);

        IQueryable<RestaurantIngredient> Order(IQueryable<RestaurantIngredient> entitys, int orderCode);
    }
}
